package org.jeecg.modules.demo.logics.vo;

import java.util.List;
import org.jeecg.modules.demo.logics.entity.TransitInfo;
import org.jeecg.modules.demo.logics.entity.TransitPkg;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 运输表
 * @Author: jeecg-boot
 * @Date:   2021-12-16
 * @Version: V1.0
 */
@Data
@ApiModel(value="transit_infoPage对象", description="运输表")
public class TransitInfoPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**运输单号*/
	@Excel(name = "运输单号", width = 15)
	@ApiModelProperty(value = "运输单号")
    private java.lang.String transitNo;
	/**运输时间*/
	@Excel(name = "运输时间", width = 15, dicCode = "transit_time")
    @Dict(dicCode = "transit_time")
	@ApiModelProperty(value = "运输时间")
    private java.lang.String transitTime;
	/**运输方式*/
	@Excel(name = "运输方式", width = 15, dicCode = "transit_type")
    @Dict(dicCode = "transit_type")
	@ApiModelProperty(value = "运输方式")
    private java.lang.String transitWay;
	/**托运人*/
	@Excel(name = "托运人", width = 15)
	@ApiModelProperty(value = "托运人")
    private java.lang.String shipper;
	/**收货人*/
	@Excel(name = "收货人", width = 15)
	@ApiModelProperty(value = "收货人")
    private java.lang.String consignee;
	/**目的地*/
	@Excel(name = "目的地", width = 15)
	@ApiModelProperty(value = "目的地")
    private java.lang.String stopAddress;
	/**起始地*/
	@Excel(name = "起始地", width = 15)
	@ApiModelProperty(value = "起始地")
    private java.lang.String startAddress;
	/**承运商*/
	@Excel(name = "承运商", width = 15, dicCode = "Carrier")
    @Dict(dicCode = "Carrier")
	@ApiModelProperty(value = "承运商")
    private java.lang.String carrier;

	@ExcelCollection(name="运输包裹")
	@ApiModelProperty(value = "运输包裹")
	private List<TransitPkg> transitPkgList;

}
